using MediatR;
using System.Collections.Generic;
using Work.API.Dtos;
using Work.ErrorCode;

namespace Work.API.Applications.Read.Commands
{
    /// <summary>
    /// 根据预约ID获取处方明细查询
    /// </summary>
    public class GetPrescriptionItemsByAppointmentQuery : IRequest<ApiResult<List<PrescriptionItemDto>>>
    {
        /// <summary>
        /// 预约编号
        /// </summary>
        public int AppointmentId { get; set; }

        /// <summary>
        /// 是否只查询未支付的（可选）
        /// </summary>
        public bool? UnpaidOnly { get; set; }
    }
}

